package com.ruoyi.driver.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 司机列表对象 t_driver
 * 
 * @author ruoyi
 * @date 2025-08-26
 */
public class TDriver extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 司机ID，自增主键 */
    private Long driverId;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idNumber;

    /** 司机姓名 */
    @Excel(name = "司机姓名")
    private String driverName;

    /** 司机性别 */
    @Excel(name = "司机性别")
    private String driverGender;

    /** 司机手机号码 */
    @Excel(name = "司机手机号码")
    private String driverPhone;

    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registerTime;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    /** 绑定车辆 */
    @Excel(name = "绑定车辆")
    private String boundVehicle;

    /** 车辆级别 */
    @Excel(name = "车辆级别")
    private String vehicleLevel;

    /** 司机状态 */
    @Excel(name = "司机状态")
    private String driverStatus;

    /** 工作状态 */
    @Excel(name = "工作状态")
    private String workStatus;

    /** 司机主管 */
    @Excel(name = "司机主管")
    private String driverSupervisor;

    public void setDriverId(Long driverId) 
    {
        this.driverId = driverId;
    }

    public Long getDriverId() 
    {
        return driverId;
    }

    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }

    public void setDriverName(String driverName) 
    {
        this.driverName = driverName;
    }

    public String getDriverName() 
    {
        return driverName;
    }

    public void setDriverGender(String driverGender) 
    {
        this.driverGender = driverGender;
    }

    public String getDriverGender() 
    {
        return driverGender;
    }

    public void setDriverPhone(String driverPhone) 
    {
        this.driverPhone = driverPhone;
    }

    public String getDriverPhone() 
    {
        return driverPhone;
    }

    public void setRegisterTime(Date registerTime) 
    {
        this.registerTime = registerTime;
    }

    public Date getRegisterTime() 
    {
        return registerTime;
    }

    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }

    public void setBoundVehicle(String boundVehicle) 
    {
        this.boundVehicle = boundVehicle;
    }

    public String getBoundVehicle() 
    {
        return boundVehicle;
    }

    public void setVehicleLevel(String vehicleLevel) 
    {
        this.vehicleLevel = vehicleLevel;
    }

    public String getVehicleLevel() 
    {
        return vehicleLevel;
    }

    public void setDriverStatus(String driverStatus) 
    {
        this.driverStatus = driverStatus;
    }

    public String getDriverStatus() 
    {
        return driverStatus;
    }

    public void setWorkStatus(String workStatus) 
    {
        this.workStatus = workStatus;
    }

    public String getWorkStatus() 
    {
        return workStatus;
    }

    public void setDriverSupervisor(String driverSupervisor) 
    {
        this.driverSupervisor = driverSupervisor;
    }

    public String getDriverSupervisor() 
    {
        return driverSupervisor;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("driverId", getDriverId())
            .append("idNumber", getIdNumber())
            .append("driverName", getDriverName())
            .append("driverGender", getDriverGender())
            .append("driverPhone", getDriverPhone())
            .append("registerTime", getRegisterTime())
            .append("city", getCity())
            .append("boundVehicle", getBoundVehicle())
            .append("vehicleLevel", getVehicleLevel())
            .append("driverStatus", getDriverStatus())
            .append("workStatus", getWorkStatus())
            .append("driverSupervisor", getDriverSupervisor())
            .toString();
    }
}
